<%@list.each do |c|%>
<tr>
          <td width ="100"><%= link_to c.task_name, {:action => "show", :id => c.id} -%></td>
          <td>
            <%= button_to 'Edit', {:action => "edit", :id => c.id} %>
          </td>
          <td><%= button_to 'Remove', {:action => "delete", :id => c.id}, :confirm => "Are u sure want to remove this task?"%></td>
        </tr>

        <%end%>